function validateForm() {
    let username = document.forms["loginForm"]["username"].value;
    let password = document.forms["loginForm"]["password"].value;
    if (username === "" || password === "") {
        alert("Username and password must be filled out");
        return false;
    }
    return true;
}
